﻿#ifndef CVideoDevCfgOper_H
#define CVideoDevCfgOper_H
/********************************************************************************
** @ Date:2025/08/20
** @ Author: HanJiaXin
** @ Description:摄像头设备配置对话框
** @ Version:1.0.0
** @ ClassName:CVideoDevCfgOper
** @ Fun:
********************************************************************************/
#include <QDialog>
#include "ui_CVideoDevCfgOper.h"
#include "CDevDataCam.h"

class CVideoDevCfgOper : public QDialog
{
	Q_OBJECT

public:
	CVideoDevCfgOper(CDevDataCam* pDevData,QWidget *parent = nullptr);
	CVideoDevCfgOper(QString sDevGuid, QWidget *parent = nullptr);
	~CVideoDevCfgOper();

private:
	void initConnect();//初始化槽函数连接
	void setData();//设置界面数据
	void setStyleSheetFile();

private slots:
	void slotPushBtnOK();
	void slotPushBtnCancle();
	void slotCamerIpChanged(const QString &);
	void slotVideoTypeChanged(const QString &text);
private:
	Ui::CVideoDevCfgOperClass ui;
	CDevDataCam* m_pDevData;
	QString m_sDevGuid;
	int m_nType;//0：增加 1:修改
};

#endif